<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title></title>
</head>

<style>
div.fieldwrapper div.thefield input[type="text"] {
	width: 180px;
}
</style>

<body>

	<html:form action="forgotPassword" method="post">

		<!-- lateral izquierdo -->
		<div style="float: left; width: 25%;">&nbsp;</div>

		<fieldset style="float:left; width: 50%;">

			<legend>
				<bean:message key="forgot.pass.title" />
			</legend>
			
			
			<%-- En caso de que existan errores, los mostramos --%>
			<logic:messagesPresent>
				<div class="mensajesError">
					<html:errors />
				</div>
			</logic:messagesPresent>

			<%-- En caso de que existan mensajes, los mostramos --%>
			<logic:messagesPresent message="true">
				<div class="mensajes">
					<html:messages id="message" message="true" header="messages.header" footer="messages.footer">
						<bean:write name="message" />
					</html:messages>
				</div>				
			</logic:messagesPresent>
			
			<br />
			
			<p>
				<bean:message key="forgot.pass.intro" />
			</p>

			<div class="fieldwrapper">
				<label for="email" class="styled"><bean:message key="forgot.pass.email" />:</label>
				<div class="thefield"> <html:text property="email" />*</div>
			</div>
				
			<p>
				<html:submit styleClass="boton" value="Enviar" />
			</p>

		</fieldset>

		<!-- lateral derecho -->
		<div style="float: left; width: 25%;">&nbsp;</div>


	</html:form>


</body>


</html:html>
